const config = require("./webpack.config.js");
const webpack = require('webpack');
const WebpackDevServer = require('webpack-dev-server');

let compiler = webpack(config);
let server = new WebpackDevServer(compiler, {
    contentBase: 'build/',
    publicPath: "/",
    stats: { colors: true,chunks:false },
});
server.listen(8088);